home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Utilities / Lightspeed C SKEL fldr / SKel globals.c < prev    next >
Encoding:
C/C++ Source or Header  |  1986-06-17  |  675 b   |  22 lines  |  [TEXT/KAHL]

  1. #include <MacTypes.h>
  2. #include "QuickDraw.h"
  3. #include <WindowMgr.h>        
  4. #include <MenuMgr.h>
  5. #include <EventMgr.h>
  6. #include "Skel defines.h"
  7. /*
  8.     Globals
  9. */
  10. GrafPtr screenport;            /* a port for the whole screen */
  11. WindowPtr mywindow;            /* our one window */
  12. WindowRecord wrecord;        /* storage for window record */
  13. Rect dragrect;                /* Rect to drag within */
  14. Rect growrect;                /* bounds for the growth of the windows */
  15.  
  16. MenuHandle mymenus[lastmenu + 1];/* our menus */
  17.  
  18. EventRecord myevent;
  19. WindowPtr     whichwindow;        /* points to window of mouseDown */
  20. int            windowcode;            /* what mouse was in when event posted */
  21. Boolean     userdone;            /* true when user wants to exit program */
  22.